#ifndef LABEL_H
#define LABEL_H

#include <QMainWindow>
#include <QObject>
#include <QWidget>
#include <QLabel>
#include <QDebug>
#include <QMouseEvent>

class Label : public QLabel
{
    Q_OBJECT
public:
    Label(QWidget* parent = nullptr);

    void enterEvent(QEvent* event) override;

    void leaveEvent(QEvent* event) override;

    void mousePressEvent(QMouseEvent *event) override;

    void mouseReleaseEvent(QMouseEvent *event) override;

    void mouseDoubleClickEvent(QMouseEvent *event) override;
};

#endif // LABEL_H
